package test;

import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

import utils.MyBatisUtils;

public class Demo2 {
	@Test
	public void findCount(){
		SqlSession sqlSession = MyBatisUtils.getSqlSession();
		int selectOne = sqlSession.selectOne("usermapper.findCount");
		System.out.println(selectOne);
		sqlSession.close();
	}

}
